package com.ruoyi.common.constant;

public class TableConstants {
    public static final String F107 = "SWDATA_OBS_F107";
    public static final String S107 = "SWDATA_OBS_S107";
    public static final String M107 = "SWDATA_OBS_M107";
    public static final String Y107 = "SWDATA_OBS_Y107";
    public static final String Ap = "SWDATA_OBS_AP";
    public static final String Kp = "SWDATA_OBS_KP";
    public static final String Dst = "SWDATA_OBS_DST";
    public static String getTableName(String flag){
        String tableName = "";
        switch (flag){
            case "F107":
                tableName = "SWDATA_OBS_F107";
                break;
            case "S107":
                tableName = "SWDATA_OBS_S107";
                break;
            case "M107":
                tableName = "SWDATA_OBS_M107";
                break;
            case "Y107":
                tableName = "SWDATA_OBS_Y107";
                break;
            case "Ap":
                tableName = "SWDATA_OBS_AP";
                break;
            case "Kp":
                tableName = "SWDATA_OBS_KP";
                break;
            case "Dst":
                tableName = "SWDATA_OBS_DST";
                break;
        }
        return tableName;
    }
}
